<div id="latest-post" class="post">
	<!--<p class="byline"><span>Posted on December 15th, 2007 by <a href="#">Someone</a></span></p>-->
	<h1 class="title"><a href="#">Hottest doctors</a></h1>
	<div class="entry">
		<table border="0">
		<? foreach ($hotest_doctors AS $item) : ?>

				<tr>
					<td valign="top"><img src="photos/<? if (!empty($item['photo'])) { ereg ("^(.+)\.(.{3})$", $item['photo'], $regs); echo $regs[1]."_thumb.".$regs[2];} else echo "noimage.gif";?>" border="1"></td>
					<td valign="top"><a href="index.php/user/doctor_details/<?=$item['uid'];?>"><?=$item['fname']?> <?=$item['lname']?></a><br>
						<?=$item['company'];?>
					</td>
				</tr>

		<? endforeach; ?>
			</table>		
	</div>
	<h1 class="title"><a href="#">Highest Rated doctors</a></h1>
	<div class="entry">
			<table border="0">
		<? foreach ($highest_doctors AS $item) : ?>
				<tr>
					<td valign="top"><img src="photos/<? if (!empty($item['photo'])) { ereg ("^(.+)\.(.{3})$", $item['photo'], $regs); echo $regs[1]."_thumb.".$regs[2];} else echo "noimage.gif";?>" border="1"></td>
					<td valign="top">
						<a href="index.php/user/doctor_details/<?=$item['uid'];?>"><?=$item['fname']?> <?=$item['lname']?></a><br>
						<?=$item['company'];?>
					</td>
				</tr>

		<? endforeach; ?>
		</table>		
	</div>	
	<!--<p class="meta"><a href="#" class="comments">14 Comments</a> &nbsp;&nbsp;&nbsp; <a href="#" class="permalink">Permalink</a></p>-->
</div>